#ifndef DOWN_LOAD_PROCESS_H
#define DOWN_LOAD_PROCESS_H


typedef unsigned char 			uint8_t;
typedef unsigned short int 		uint16_t;
typedef unsigned int        	uint32_t;

#define HI_UINT16(a) (((a) >> 8) & 0xFF)
#define LO_UINT16(a) ((a) & 0xFF)
/****************************************/
/*************参数宏定义*****************/

#define		D_ERROR		0
#define		D_OK		1
#define		D_DATA		2
/*_-------------数据包格式------------*/
#define     PACK_LENTH  16

#define 	PACK_HEAD	0xAA
#define		DATA_BEGAIN		1
#define		DATA_END	9
#define 	PACK_TAIL	0xBB
/***********************************/
/***********************************/

#endif // DOWN_LOAD_PROCESS_H
